[INFO] cloning repository https://github.com/pushpadevl/Sclock
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/pushpadevl/Sclock" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fpushpadevl%2FSclock", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fpushpadevl%2FSclock'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] a61ae8a94882eae9ce361fac32ff2fb8d4db261e
[INFO] testing pushpadevl/Sclock against try#0abe69e6c16114311cc2700e972492e64d69c28f for pr-154065-1
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fpushpadevl%2FSclock" "/workspace/builds/worker-4-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc2/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/pushpadevl/Sclock
[INFO] finished tweaking git repo https://github.com/pushpadevl/Sclock
[INFO] tweaked toml for git repo https://github.com/pushpadevl/Sclock written to /workspace/builds/worker-4-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/pushpadevl/Sclock on toolchain 0abe69e6c16114311cc2700e972492e64d69c28f
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+0abe69e6c16114311cc2700e972492e64d69c28f" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/pushpadevl/Sclock already has a lockfile, it will not be regenerated
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+0abe69e6c16114311cc2700e972492e64d69c28f" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+0abe69e6c16114311cc2700e972492e64d69c28f" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 05ff9ba2669a87093ce82f50c9a31b9ef42b0a995230e930d5f80d2c6999f6e1
[INFO] running `Command { std: "docker" "start" "-a" "05ff9ba2669a87093ce82f50c9a31b9ef42b0a995230e930d5f80d2c6999f6e1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "05ff9ba2669a87093ce82f50c9a31b9ef42b0a995230e930d5f80d2c6999f6e1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "05ff9ba2669a87093ce82f50c9a31b9ef42b0a995230e930d5f80d2c6999f6e1", kill_on_drop: false }`
[INFO] [stdout] 05ff9ba2669a87093ce82f50c9a31b9ef42b0a995230e930d5f80d2c6999f6e1
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+0abe69e6c16114311cc2700e972492e64d69c28f" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 2ae9f91f421206e79a1e03d650dfe9b6af164cac4d6312abd0018fa254831457
[INFO] running `Command { std: "docker" "start" "-a" "2ae9f91f421206e79a1e03d650dfe9b6af164cac4d6312abd0018fa254831457", kill_on_drop: false }`
[INFO] [stderr]    Compiling serde v1.0.219
[INFO] [stderr]    Compiling hashbrown v0.15.4
[INFO] [stderr]    Compiling winnow v0.7.12
[INFO] [stderr]    Compiling target-lexicon v0.12.16
[INFO] [stderr]    Compiling smallvec v1.15.1
[INFO] [stderr]    Compiling slab v0.4.10
[INFO] [stderr]    Compiling memchr v2.7.5
[INFO] [stderr]    Compiling futures-channel v0.3.31
[INFO] [stderr]    Compiling gio v0.19.8
[INFO] [stderr]    Compiling memoffset v0.9.1
[INFO] [stderr]    Compiling serde_json v1.0.141
[INFO] [stderr]    Compiling syn v2.0.104
[INFO] [stderr]    Compiling field-offset v0.3.6
[INFO] [stderr]    Compiling indexmap v2.10.0
[INFO] [stderr]    Compiling cfg-expr v0.15.8
[INFO] [stderr]    Compiling futures-macro v0.3.31
[INFO] [stderr]    Compiling thiserror-impl v1.0.69
[INFO] [stderr]    Compiling serde_derive v1.0.219
[INFO] [stderr]    Compiling toml_datetime v0.6.11
[INFO] [stderr]    Compiling serde_spanned v0.6.9
[INFO] [stderr]    Compiling toml_edit v0.22.27
[INFO] [stderr]    Compiling futures-util v0.3.31
[INFO] [stderr]    Compiling thiserror v1.0.69
[INFO] [stderr]    Compiling toml v0.8.23
[INFO] [stderr]    Compiling proc-macro-crate v3.3.0
[INFO] [stderr]    Compiling futures-executor v0.3.31
[INFO] [stderr]    Compiling system-deps v6.2.2
[INFO] [stderr]    Compiling glib-macros v0.19.9
[INFO] [stderr]    Compiling gtk4-macros v0.8.2
[INFO] [stderr]    Compiling glib-sys v0.19.8
[INFO] [stderr]    Compiling gobject-sys v0.19.8
[INFO] [stderr]    Compiling gio-sys v0.19.8
[INFO] [stderr]    Compiling gdk-pixbuf-sys v0.19.8
[INFO] [stderr]    Compiling pango-sys v0.19.8
[INFO] [stderr]    Compiling cairo-sys-rs v0.19.2
[INFO] [stderr]    Compiling graphene-sys v0.19.8
[INFO] [stderr]    Compiling gdk4-sys v0.8.2
[INFO] [stderr]    Compiling gsk4-sys v0.8.2
[INFO] [stderr]    Compiling gtk4-sys v0.8.2
[INFO] [stderr]    Compiling glib v0.19.9
[INFO] [stderr]    Compiling chrono v0.4.41
[INFO] [stderr]    Compiling cairo-rs v0.19.4
[INFO] [stderr]    Compiling graphene-rs v0.19.8
[INFO] [stderr]    Compiling gdk-pixbuf v0.19.8
[INFO] [stderr]    Compiling pango v0.19.8
[INFO] [stderr]    Compiling gdk4 v0.8.2
[INFO] [stderr]    Compiling gsk4 v0.8.2
[INFO] [stderr]    Compiling gtk4 v0.8.2
[INFO] [stderr]    Compiling Sclock v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] error: cannot find derive macro `Serialize` in this scope
[INFO] [stdout]  --> src/main.rs:8:24
[INFO] [stdout]   |
[INFO] [stdout] 8 | #[derive(Debug, Clone, Serialize, Deserialize, Default)]
[INFO] [stdout]   |                        ^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing this derive macro
[INFO] [stdout]   |
[INFO] [stdout] 1 + use serde::Serialize;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: cannot find derive macro `Deserialize` in this scope
[INFO] [stdout]  --> src/main.rs:8:35
[INFO] [stdout]   |
[INFO] [stdout] 8 | #[derive(Debug, Clone, Serialize, Deserialize, Default)]
[INFO] [stdout]   |                                   ^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing this derive macro
[INFO] [stdout]   |
[INFO] [stdout] 1 + use serde::Deserialize;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: cannot find derive macro `Serialize` in this scope
[INFO] [stdout]  --> src/main.rs:1:24
[INFO] [stdout]   |
[INFO] [stdout] 1 | #[derive(Debug, Clone, Serialize, Deserialize)]
[INFO] [stdout]   |                        ^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing this derive macro
[INFO] [stdout]   |
[INFO] [stdout] 1 + use serde::Serialize;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: cannot find derive macro `Deserialize` in this scope
[INFO] [stdout]  --> src/main.rs:1:35
[INFO] [stdout]   |
[INFO] [stdout] 1 | #[derive(Debug, Clone, Serialize, Deserialize)]
[INFO] [stdout]   |                                   ^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing this derive macro
[INFO] [stdout]   |
[INFO] [stdout] 1 + use serde::Deserialize;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `NaiveTime` in this scope
[INFO] [stdout]  --> src/main.rs:4:21
[INFO] [stdout]   |
[INFO] [stdout] 4 |     pub start_time: NaiveTime,
[INFO] [stdout]   |                     ^^^^^^^^^ not found in this scope
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]   |
[INFO] [stdout] 1 + use chrono::NaiveTime;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `Duration` in this scope
[INFO] [stdout]  --> src/main.rs:5:19
[INFO] [stdout]   |
[INFO] [stdout] 5 |     pub duration: Duration,
[INFO] [stdout]   |                   ^^^^^^^^ not found in this scope
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing one of these items
[INFO] [stdout]   |
[INFO] [stdout] 1 + use std::time::Duration;
[INFO] [stdout]   |
[INFO] [stdout] 1 + use chrono::Duration;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `Duration` in this scope
[INFO] [stdout]   --> src/main.rs:19:39
[INFO] [stdout]    |
[INFO] [stdout] 19 |     pub fn total_study_time(&self) -> Duration {
[INFO] [stdout]    |                                       ^^^^^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing one of these items
[INFO] [stdout]    |
[INFO] [stdout]  1 + use std::time::Duration;
[INFO] [stdout]    |
[INFO] [stdout]  1 + use chrono::Duration;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `PathBuf` in this scope
[INFO] [stdout]   --> src/main.rs:25:39
[INFO] [stdout]    |
[INFO] [stdout] 25 |     pub fn save_to_file(&self, path: &PathBuf) -> Result<(), Box<dyn std::error::Error>> {
[INFO] [stdout]    |                                       ^^^^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]    |
[INFO] [stdout]  1 + use std::path::PathBuf;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find module or crate `fs` in this scope
[INFO] [stdout]   --> src/main.rs:27:9
[INFO] [stdout]    |
[INFO] [stdout] 27 |         fs::write(path, json)?;
[INFO] [stdout]    |         ^^ use of unresolved module or unlinked crate `fs`
[INFO] [stdout]    |
[INFO] [stdout]    = help: if you wanted to use a crate named `fs`, use `cargo add fs` to add it to your `Cargo.toml`
[INFO] [stdout] help: consider importing this module
[INFO] [stdout]    |
[INFO] [stdout]  1 + use std::fs;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0601]: `main` function not found in crate `Sclock`
[INFO] [stdout]   --> src/main.rs:30:2
[INFO] [stdout]    |
[INFO] [stdout] 30 | }
[INFO] [stdout]    |  ^ consider adding a `main` function to `src/main.rs`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `sort_periods` found for mutable reference `&mut Timetable` in the current scope
[INFO] [stdout]   --> src/main.rs:16:14
[INFO] [stdout]    |
[INFO] [stdout] 16 |         self.sort_periods();
[INFO] [stdout]    |              ^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout] help: there is a method `add_period` with a similar name, but with different arguments
[INFO] [stdout]   --> src/main.rs:14:5
[INFO] [stdout]    |
[INFO] [stdout] 14 |     pub fn add_period(&mut self, period: StudyPeriod) {
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the trait bound `Timetable: serde::ser::Serialize` is not satisfied
[INFO] [stdout]     --> src/main.rs:26:49
[INFO] [stdout]      |
[INFO] [stdout]   26 |         let json = serde_json::to_string_pretty(self)?;
[INFO] [stdout]      |                    ---------------------------- ^^^^ unsatisfied trait bound
[INFO] [stdout]      |                    |
[INFO] [stdout]      |                    required by a bound introduced by this call
[INFO] [stdout]      |
[INFO] [stdout] help: the trait `serde::ser::Serialize` is not implemented for `Timetable`
[INFO] [stdout]     --> src/main.rs:9:1
[INFO] [stdout]      |
[INFO] [stdout]    9 | pub struct Timetable {
[INFO] [stdout]      | ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]      = note: for local types consider adding `#[derive(serde::Serialize)]` to your `Timetable` type
[INFO] [stdout]      = note: for types from other crates check whether the crate offers a `serde` feature flag
[INFO] [stdout]      = help: the following other types implement trait `serde::ser::Serialize`:
[INFO] [stdout]                &'a T
[INFO] [stdout]                &'a mut T
[INFO] [stdout]                ()
[INFO] [stdout]                (T,)
[INFO] [stdout]                (T0, T1)
[INFO] [stdout]                (T0, T1, T2)
[INFO] [stdout]                (T0, T1, T2, T3)
[INFO] [stdout]                (T0, T1, T2, T3, T4)
[INFO] [stdout]              and 138 others
[INFO] [stdout] note: required by a bound in `to_string_pretty`
[INFO] [stdout]     --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/serde_json-1.0.141/src/ser.rs:2266:17
[INFO] [stdout]      |
[INFO] [stdout] 2264 | pub fn to_string_pretty<T>(value: &T) -> Result<String>
[INFO] [stdout]      |        ---------------- required by a bound in this function
[INFO] [stdout] 2265 | where
[INFO] [stdout] 2266 |     T: ?Sized + Serialize,
[INFO] [stdout]      |                 ^^^^^^^^^ required by this bound in `to_string_pretty`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0277, E0425, E0433, E0599, E0601.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0277`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `Sclock` (bin "Sclock") due to 12 previous errors
[INFO] running `Command { std: "docker" "inspect" "2ae9f91f421206e79a1e03d650dfe9b6af164cac4d6312abd0018fa254831457", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "2ae9f91f421206e79a1e03d650dfe9b6af164cac4d6312abd0018fa254831457", kill_on_drop: false }`
[INFO] [stdout] 2ae9f91f421206e79a1e03d650dfe9b6af164cac4d6312abd0018fa254831457
